/***************************************************************************************************************
 *   Author : Manu Joseph
 *   Date : 05/05/2010
 *   Description : A tool that easily allow users to share folders and set permissions
 *   File Name : User.cs
 *   Purpose : Structure representing a user and permissions associated
****************************************************************************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace EasyShare
{
    /// <summary>
    /// Indicates user to be added
    /// </summary>
    public struct User
    {
        private string userName;
        private bool allowRead;
        private bool allowFullControl;

        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        public bool AllowRead
        {
            get { return allowRead; }
            set { allowRead = value; }
        }

        public bool AllowFullControl
        {
            get { return allowFullControl; }
            set { allowFullControl = value; }
        }
    }
}
